<div class="occours form">
<?php echo $this->Form->create('Occour'); ?>
	<fieldset>
		<legend><?php echo __('Add Occour'); ?></legend>
	<?php
		echo $this->Form->input('match_id');
		echo $this->Form->input('player_id');
		echo $this->Form->input('event_id');
		echo $this->Form->input('time');
		echo $this->Form->input('other_player');
	?>
		Otro Atributo
		<input type="text" id="epale" name="aqui">
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('List Occours'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Matches'), array('controller' => 'matches', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Match'), array('controller' => 'matches', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Players'), array('controller' => 'players', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Player'), array('controller' => 'players', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Events'), array('controller' => 'events', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Event'), array('controller' => 'events', 'action' => 'add')); ?> </li>
		<li><a type="button" onclick="handleClick()"> Hola </a></li>
	</ul>
</div>

<body>

</body>

<script>

var handleClick = function (){
	x = document.getElementById("OccourPlayerId");
    alert(x.value);
};
</script>